package cn.com.tianpeidong.restaurantadmin.project.admin.user.constant;

/**
 * 用户状态
 * 
 * @author ruoyi
 *
 */
public enum UserStatus
{
    OK((short)0, "正常"), DISABLE((short)1, "停用"), DELETED((short)2, "删除");

    private final Short code;
    private final String info;

    UserStatus(Short code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Short getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
